<?php

namespace app\admin\controller;

use app\BaseController;


class AdminBase extends BaseController {

    public $adminId = 0;
    public $token = '';

    public function initialize(){
        parent::initialize();

        $this->adminId = $this->request->middleware('adminId');
        $this->token = $this->request->middleware('token');
    }
}
